Skip to content

chore(playground): use vue code fence in Vue playground template#4487

Open
thetaPC wants to merge 1 commit intomainfrom
vue-template
Open

chore(playground): use vue code fence in Vue playground template#4487
thetaPC wants to merge 1 commit intomainfrom
vue-template

Conversation

@thetaPC
Copy link
Copy Markdown
Contributor

@thetaPC thetaPC commented May 5, 2026

Issue URL: N/A

What is the current behavior?

The Vue playground template uses a ```html code fence, which doesn't provide accurate syntax highlighting for .vue single-file components.

What is the new behavior?

The code fence is updated to ```vue, enabling proper Vue syntax highlighting for the generated playground files.

Does this introduce a breaking change?

  • Yes
  • No

Other information

Docs now supports vue as a valid syntax highlighting language, making this change viable. Since playground files are generated from this template via npm run playground:new, all newly generated Vue examples will benefit from accurate highlighting going forward.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ionic-docs Ready Ready Preview, Comment May 5, 2026 5:26pm

Request Review

@thetaPC thetaPC marked this pull request as ready for review May 5, 2026 17:32
@thetaPC thetaPC requested a review from a team as a code owner May 5, 2026 17:32
@thetaPC thetaPC requested review from BenOsodrac and removed request for BenOsodrac May 5, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant